#ifndef GLWIDGET_H
#define GLWIDGET_H

#include <QGLWidget>
#include "userobject.h"

class GLWidget : public QGLWidget
{
public:
    explicit GLWidget(QWidget *parent = 0);
protected:

    void createTexture();
    void initializeGL();
    void paintGL();
    void resizeGL(int width, int height);

private:
    UserObject _userObject;
};

#endif // GLWIDGET_H
